package com.softa.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author panda
 * 角色表
 */
@Data
@TableName("sys_role")
public class SysRole {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "role")
    private String role;

    @TableField(value = "description")
    private String description;

    @TableField(value = "resource_ids")
    private String resourceIds;

    @TableField(value = "available")
    private Boolean available;

    /**
     * 1、不显示  2、显示
     */
    @TableField(value = "isshow")
    private Integer isshow;

    @TableField(value = "name")
    private String name;

}